package ATM.src;

public class account {
    private String CarId;
    private String name;
    private String password;
    private int money;
    public account() {this.money =0;}
    public account(String CarId,String name, String password) {
        this.CarId = CarId;
        this.name = name;
        this.password = password;
        this.money = 0;
    }
    public account(String CarId, String name, String password, int money) {
        this.CarId = CarId;
        this.name = name;
        this.password = password;
        this.money = money;
    }

    public String getCarId() {
        return CarId;
    }

    public void setCarId(String carId) {
        CarId = carId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }
}
